﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using LevelEditor.model.elements;

namespace LevelEditor.events
{
    public class PGameObjectSelectedEvent : AbstractChangedEvent
    {
        #region Variables
        private AbstractPGameObject m_pGameObject;

        #endregion

        #region Constructeurs
        public PGameObjectSelectedEvent(string eventMsg, AbstractPGameObject pGameObject)
            : base(eventMsg)
        {
            m_pGameObject = pGameObject;
        }

        #endregion

        #region Getters && Setters
        public AbstractPGameObject pGameObject
        {
            get { return m_pGameObject; }
        }

        #endregion
    }
}
